package mapper;

import entity.User;
import org.apache.ibatis.annotations.Select;

/**
 * Created by yiyongyao on 2018/3/1.
 */
public interface UserMapper {

    @Select("select * from z_user where username = #{username}")
    User selectByName(String username);


    void add(User user);

}
